package constructor;

public class LaptopDemo {

	public static void main(String[] args) {

		Laptop macBook = new Laptop();

		macBook.setMake("MacBook Pro");
		macBook.setModel("PROE123");
		macBook.setYear(2014);

		System.out.println("Make of laptop = " + macBook.getMake());
		System.out.println("Model of laptop = " + macBook.getModel());
		System.out.println("It was built in the year " + macBook.getYear());
	}

}
